package com.yunjing.udpsendreceivedata;

import android.app.Application;



public class App extends Application {


    private static ThreadManager threadPoolManager;

    private static App mInstance;

    @Override
    public void onCreate() {
        super.onCreate();

        mInstance = this;



    }

    public static ThreadManager getThreadPoolManager() {
        if (threadPoolManager == null) {
            threadPoolManager = ThreadManager.getInstance();
        }
        return threadPoolManager;
    }

    /**
     * 获取全局上下文实例
     */
    public static App getInstance() {
        return mInstance;
    }


}
